<?php
include 'header.php';
?>
<style>
<!--
dl{ display:block;width:96%;height:auto;margin:10px auto;clear:both;border-bottom:1px dotted #DEDEDE}
	dl dt{font-weight:bold;font-size:14px;color:#008000;border-bottom:1px solid #008000;line-height:30px;clear:both;height:auto}
	dl dd{ line-height:2em;height:auto;clear:both}
-->
</style>
<div class="pageBox">

<div class="archiveBox">
	<?php foreach ($commentList as $item):?>
	<dl>
		<dt>来自<?php echo $item['author'];?>[<?php echo date('Y-m-d H:i:s', $item['pubtime']);?>]</dt>
		<dd><?php echo $item['content'];?></dd>
		<dd style="width:98%;float:right;clear:both">
		【<?php echo date('Y-m-d H:i:s', $item['replytime']);?>回复】
		<?php echo $item['reply'];?>
		</dd>
	</dl>
	<?php endforeach;?>
	<dl>
		<dd class="pageBreak" style="text-align:center"><?php echo $page;?></dd>
	</dl>
</div>

</div>

<?php 
include 'footer.php';
?>